// 路由守卫拦截器
export const routeGuard = (router) => {
    router.beforeEach(async (to, from, next) => {
        // todo...
        next();
    })
      
    router.afterEach(() => {
        // todo...
    })
}
